package main

import "fmt"

func Count(ch chan int) {
	fmt.Println("Counting")
	ch <- 1
}

func main() {
	chs := make([]chan int, 10)
	for i := 0; i < 10; i++ {
		chs[i] = make(chan int)
		go Count(chs[i])
	}

	var j int
	for _, ch := range chs {
		// There should have a '=', other error "j <- ch (send to non-chan type int)"
		j = <-ch
		fmt.Println(j)
	}
}
